package com.seven.springboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@MapperScan("com.seven.springboot.mapper")
@Configurable
@EnableScheduling
@EnableSwagger2
@EnableTransactionManagement
public class SevenSpringbootApplication {

	public static void main(String[] args) {
		SpringApplication.run(SevenSpringbootApplication.class, args);
	}
}
